#if !defined(AFX_UILABEL_H__20060218_34CC_2871_036E_0080AD509054__INCLUDED_)
#define AFX_UILABEL_H__20060218_34CC_2871_036E_0080AD509054__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////////////

class UILIB_API CLabelPanelUI : public CControlUI {
public:
   CLabelPanelUI();

   LPCTSTR GetClass() const;

   void SetText(LPCTSTR pstrText);

   void DoPaint(HDC hDC, const RECT& rcPaint);
   void SetAttribute(LPCTSTR pstrName, LPCTSTR pstrValue);

protected:
   UINT m_uTextStyle;
};

class UILIB_API CTextPanelUI : public CLabelPanelUI {
public:
	CTextPanelUI();

	LPCTSTR GetClass() const;

	bool Activate();

	void SetTextColor(UITYPE_COLOR TextColor);
	void SetBkColor(UITYPE_COLOR BackColor);

	void DoPaint(HDC hDC, const RECT& rcPaint);
	void SetAttribute(LPCTSTR pstrName, LPCTSTR pstrValue);

protected:
	UINT m_uButtonState;
	UITYPE_COLOR m_TextColor;
	UITYPE_COLOR m_BackColor;
};

#endif // !defined(AFX_UILABEL_H__20060218_34CC_2871_036E_0080AD509054__INCLUDED_)
